home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1138.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.2 KB  |  99 lines

  1. 34
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. FontInstalled 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baFontInstalled reports whether or not a font is installed.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baFontInstalled( FontName, Style )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String. 
  36. --- RECORDSEPARATOR ---
  37. FontName is the name of the font family eg "Arial".
  38. --- RECORDSEPARATOR ---
  39.  
  40. --- RECORDSEPARATOR ---
  41. Windows
  42. --- RECORDSEPARATOR ---
  43.  - Style is the specific style eg "Bold". Use an empty string ("") to see if the 
  44. --- RECORDSEPARATOR ---
  45. basic font is installed. The style is ignored if FontName is a Bitmap font.
  46. --- RECORDSEPARATOR ---
  47.  
  48. --- RECORDSEPARATOR ---
  49. Macintosh
  50. --- RECORDSEPARATOR ---
  51.  - the Style argument is ignored.
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Returns:
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Integer. 
  60. --- RECORDSEPARATOR ---
  61. Returns 1 if the font is presently installed, otherwise 0.
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Examples:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. Director: 
  70. --- RECORDSEPARATOR ---
  71. set FontOK = baFontInstalled( "Arial", "Bold Italic" ) 
  72. --- RECORDSEPARATOR ---
  73. Authorware: 
  74. --- RECORDSEPARATOR ---
  75. FontOK := baFontInstalled( "Times", "" )
  76. --- RECORDSEPARATOR ---
  77.  
  78. --- RECORDSEPARATOR ---
  79. Notes:
  80. --- RECORDSEPARATOR ---
  81.  
  82. --- RECORDSEPARATOR ---
  83. If you ask for a specific font style, then the function will only return true if that style 
  84. --- RECORDSEPARATOR ---
  85. is present. For example, if you ask for "Arial", "Bold" and only the normal Arial is 
  86. --- RECORDSEPARATOR ---
  87. installed, this function will return 0. Some fonts may have different names for the 
  88. --- RECORDSEPARATOR ---
  89. styles, eg "Black" for bold and "Oblique" for italic. You must use the names built 
  90. --- RECORDSEPARATOR ---
  91. into the font.
  92. --- RECORDSEPARATOR ---
  93.  
  94. --- RECORDSEPARATOR ---
  95. See also:
  96. --- RECORDSEPARATOR ---
  97.  
  98. --- RECORDSEPARATOR ---
  99. baInstallFont